<?php
class Pageley_Messaging_Mail_Recipient implements Pageley_Messaging_Recipient {
    
    private $name;
    private $address;
    
    public function getName() {
        return $this->name;
    }
    
    public function getAddress() {
        return $this->address;
    }
    
    public function __toString() {
        return $this->name . " <" . $this->address . ">";
    }
}